It doesn't make much sense to set this in per-directory
meson files, since that makes use use different logging
facilities in different parts of the project. Set it
globally.
-/* config.h.in. Generated from configure.ac by autoheader. */
-
/* always defined to indicate that i18n is enabled */
#define ENABLE_NLS 1
+/* Use structured logging */
+#define G_LOG_STRUCTURED 1
+
/* The prefix for our gettext translation domains. */
#mesondefine GETTEXT_PACKAGE
c_args: [
'-DGTK_COMPILATION',
'-DG_LOG_DOMAIN="Gtk"',
- '-DG_LOG_STRUCTURED=1',
] + common_cflags,
link_args: common_ldflags)